home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
djip
/
form1.frm
< prev
next >
Wrap
Text File
|
1999-09-07
|
2KB
|
89 lines
VERSION 5.00
Begin VB.Form Form1
Caption = "DJIP sample"
ClientHeight = 2190
ClientLeft = 60
ClientTop = 345
ClientWidth = 2250
LinkTopic = "Form1"
ScaleHeight = 2190
ScaleWidth = 2250
StartUpPosition = 3 'Windows Default
Begin prjDJIP.DJIp DJIp1
Height = 270
Left = 195
TabIndex = 6
Top = 180
Width = 1875
_ExtentX = 3307
_ExtentY = 476
ForeColor = -2147483630
End
Begin VB.CommandButton cmdGet
Caption = "Get"
Height = 495
Left = 1050
TabIndex = 5
Top = 1470
Width = 870
End
Begin VB.TextBox txtVal
Height = 300
Left = 165
TabIndex = 2
Text = "250"
Top = 1485
Width = 450
End
Begin VB.TextBox txtOctet
Height = 315
Left = 165
TabIndex = 1
Text = "1"
Top = 840
Width = 450
End
Begin VB.CommandButton cmdAdd
Caption = "Add"
Height = 495
Left = 1050
TabIndex = 0
Top = 675
Width = 870
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "Value:"
Height = 195
Left = 165
TabIndex = 4
Top = 1290
Width = 450
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Octet:"
Height = 195
Left = 165
TabIndex = 3
Top = 600
Width = 450
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdAdd_Click()
Call DJIp1.PutOctet(txtOctet, txtVal)
End Sub
Private Sub cmdGet_Click()
MsgBox DJIp1.GetIp
End Sub
Private Sub Form_Load()
DJIp1.Appearance = cc3D
End Sub